package com.neusoft.my12306.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 葛彬
 * @since 2023-07-19
 */
public class Schedule implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "sid", type = IdType.AUTO)
    private Integer sid;

    private String trainno;

    private String fromnm;

    private String tonm;

    /**
     * 在fromnm站的停留时长
     */
    private Integer waitfor;

    private Integer running;

    private String totime;

    private String ltime;

    /**
     * 票价
     */
    private Double price;

    public Integer getSid() {
        return sid;
    }

    public void setSid(Integer sid) {
        this.sid = sid;
    }
    public String getTrainno() {
        return trainno;
    }

    public void setTrainno(String trainno) {
        this.trainno = trainno;
    }
    public String getFromnm() {
        return fromnm;
    }

    public void setFromnm(String fromnm) {
        this.fromnm = fromnm;
    }
    public String getTonm() {
        return tonm;
    }

    public void setTonm(String tonm) {
        this.tonm = tonm;
    }
    public Integer getWaitfor() {
        return waitfor;
    }

    public void setWaitfor(Integer waitfor) {
        this.waitfor = waitfor;
    }
    public Integer getRunning() {
        return running;
    }

    public void setRunning(Integer running) {
        this.running = running;
    }
    public String getTotime() {
        return totime;
    }

    public void setTotime(String totime) {
        this.totime = totime;
    }
    public String getLtime() {
        return ltime;
    }

    public void setLtime(String ltime) {
        this.ltime = ltime;
    }
    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    @Override
    public String toString() {
        return "Schedule{" +
            "sid=" + sid +
            ", trainno=" + trainno +
            ", fromnm=" + fromnm +
            ", tonm=" + tonm +
            ", waitfor=" + waitfor +
            ", running=" + running +
            ", totime=" + totime +
            ", ltime=" + ltime +
            ", price=" + price +
        "}";
    }
}
